package com.neusoft.feign;

import com.neusoft.core.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name="virtualWallet-server", 
             url="http://localhost:10700",  // 添加直接URL
             fallback = VirtualWalletFeignClientCallBack.class)
public interface VirtualWalletFeignClient {
    
    @PostMapping("/VirtualWalletController/create")
    public CommonResult<Integer> saveVirtualWallet(@RequestParam("userId") String userId);
}